<form id="send-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[chatid]" value="{$chatid}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[msgtype]', $msgtype)}
        </div>
    </div>
    <div class="form-group  safe">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否保密')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[safe]', ['0'=>'否','1'=>'是'])}
        </div>
    </div>
    <!--发送文本消息开始-->
    <div class="form-group text">
        <label for="desc" class="control-label col-xs-12 col-sm-2">{:__('描述')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea class="form-control"  data-rule="required" id="desc" name="row[text][content]"></textarea>
        </div>
    </div>
    <!--发送文本消息结束-->
    <div class="form-group hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

</form>
